import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
import java.awt.Color;

/**
 * Write a description of class Nivel here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Nivel extends Letreros
{
    public Nivel()
    {
        marcador = 1;
        setImage(new GreenfootImage("NIVEL: 1", 20, Color.WHITE, Color.BLACK));
    }

    public void Count(int amount)
    {
        marcador += amount;
        setImage(new GreenfootImage("NIVEL: " + marcador, 20, Color.WHITE, Color.BLACK));
    }   
}
